<oc-dialog oc-dialog-title="修改公共元件"
	oc-dialog-switch="MS" oc-dialog-icon="object"
	style="width:15rem;height:10rem;">
	<div class="grid" ng-controller="ObjectUpdate">
		<label style="top:0.5rem;left:0.3rem;" for="object-name">键名：</label>
		<input type="text" ng-model="object.name" style="top:1.5rem;left:0.3rem;width:14.4rem;" id="object-name">
		<label style="top:3rem;left:0.3rem;" for="object-cssPath">选择器：</label>
		<input type="text" ng-model="object.cssPath" style="top:4rem;left:0.3rem;width:13rem;" id="object-cssPath">
		<button ng-click="capture()" class="search" style="top:4rem;right:0.3rem;width:1.1rem;height:1.1rem;"></button>
		<button ng-click="updateObject()" ng-disabled="!object.name || !object.cssPath"
			style="right:5rem;bottom:0.3rem;height:1.4rem;width:4.3rem;">确定</button>
		<button style="right:0.3rem;bottom:0.3rem;height:1.4rem;width:4.3rem;" oc-dialog-close>取消</button>
	</div>
</oc-dialog>
